package com.scuec.tourismwebsite.entity;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import java.sql.Date;

@Data
public class TouristAttraction {
    // 确保有getter和setter方法
    @Setter
    @Getter
    private Integer attraction_id; // 景点编号1
    private Integer city_id;
    private String location;
    private String attraction_name;
    private String short_description;
    private String long_description;
    private String category;
    private String opening_hours;
    private Float entrance_fee;
    private Float rating;
    private Float temperature;
    private Date create_date; // 创建日期

    public String getPhotos() {
        return photos;
    }

    public void setPhotos(String photos) {
        this.photos = photos;
    }

    private String photos;
    private String photos2;
    private String photos3;



    // 其他getter和setter方法...
}